/*
 * \file DetailsWidget.h
 *
 * \date Created on: Jan 21, 2009
 * \author sarah
 */

#ifndef DETAILSWIDGET_H_
#define DETAILSWIDGET_H_

#include <QWidget>

class QPlainTextEdit;
class QLineEdit;
class CharacterData;

class DetailsWidget: public QWidget
{
    Q_OBJECT
public:
    DetailsWidget(CharacterData *data, QWidget *parent = 0);
    virtual ~DetailsWidget();
private Q_SLOTS:
    void updateDetails();
    void updateName(const QString &text);
private:
    QPlainTextEdit *mText;
    QLineEdit *mLineEdit;
    CharacterData *mData;
};

#endif /* DETAILSWIDGET_H_ */
